From: Florian Müllner Date: Tue, 27 May 2014 15:32:34 +0000 (+0200) Subject: windowMenu: Ping window when activating any menu action X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~2463 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=e747fcb16faa7a338494db7a49311bfaff79f49d;p=gnome-shell.git windowMenu: Ping window when activating any menu action We do this for actions in the regular app menu, it makes sense to do the same for window menu and fallback app menu. --- diff --git a/js/ui/windowMenu.js b/js/ui/windowMenu.js index b1f807373..395ccfe73 100644 --- a/js/ui/windowMenu.js +++ b/js/ui/windowMenu.js @@ -155,6 +155,10 @@ const WindowMenuManager = new Lang.Class({ this._manager.addMenu(menu); + menu.connect('activate', function() { + window.check_alive(global.get_current_time()); + }); + Main.layoutManager.setDummyCursorGeometry(x, y, 0, 0); menu.open(BoxPointer.PopupAnimation.NONE); menu.actor.navigate_focus(null, Gtk.DirectionType.TAB_FORWARD, false);